﻿<%@ Page Language="C#" MasterPageFile="~/Gallery.Master" AutoEventWireup="true" Inherits="Login" Codebehind="Login.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <br/>
    <div class="bordered">
        <h2>Login form</h2>
        <table style="text-align: center">
            <tr>
                <td>E-mail:</td>
                <td>
                    <asp:TextBox ID="TextBoxEmail" runat="server"></asp:TextBox>
                </td>
                <td style="display: none">
                    <asp:RequiredFieldValidator ID="ValidatorEmail" runat="server" ErrorMessage="Please enter your e-mail." ForeColor="#FF3300" ControlToValidate="TextBoxEmail"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>Password:</td>
                <td>
                    <asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password"></asp:TextBox>
                </td>
                <td style="display: none">
                    <asp:RequiredFieldValidator ID="ValidatorPassword" runat="server" ErrorMessage="Please enter your password." ForeColor="#FF3300" ControlToValidate="TextBoxPassword"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td style="text-align: right">
                    <asp:Button ID="ButtonLogin" runat="server" Text="Login" OnClick="ButtonLogin_Click" CssClass="btn"/>
                    <br/>
                    <a href="Registration.aspx">Does not have an account yet? Click here to register</a>
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </div>
</asp:Content>
